<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>分类</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" href="dist\css\swiper.css">
		<link rel="stylesheet" type="text/css" href="css/cm-layout.css"/>
		<link rel="stylesheet" type="text/css" href="css/classify.css"/>
	</head>
	<body>
		
		
		
		<!--头部s-->
		<header class="clearfix">
			<div class="fl back-css">
				<a href="javascript:history.back(-1)">Back</a>
			</div>
			
			<div class="area-set fr clearfix">
				<select name="">
					<option value="">广州市</option>
					<option value="">上海市</option>
					<option value="">北京市</option>
				</select>
			</div>
			
			<div class="title-css ">
				<span>分类</span>
			</div>
			
			
			
		</header>
		<!--头部e-->
		
		
		
		
		<!--内容s-->
		<section>
			
			<div class="swiper-container">
				    <div class="swiper-wrapper">
				        <div class="swiper-slide">
				        	<div class="img-wall">
				        		<img src="img/classify/food.png"/><span class="img-btm-text">美食</span>
				        	</div>
				        </div>
				        <div class="swiper-slide">
				        	<div class="img-wall">
				        		<img src="img/classify/movie.png"/><span class="img-btm-text">电影</span>
				        	</div>
				        </div>
				        <div class="swiper-slide">
				        	<div class="img-wall">
				        		<img src="img/classify/movement.png"/><span class="img-btm-text">运动</span>
				        	</div>
				        </div>
				        <div class="swiper-slide">
				        	<div class="img-wall">
				        		<img src="img/classify/sing.png"/><span class="img-btm-text">唱歌</span>
				        	</div>
				        </div>
				        
				        
				        
				        <!--<div class="swiper-slide"><img src="img/classify/movie.png"/></div>
				        <div class="swiper-slide"><img src="img/classify/movement.png"/></div>
				        <div class="swiper-slide"><img src="img/classify/sing.png"/></div>
				        -->
				    </div>
				    
				    <!-- 如果需要导航按钮 -->
				    <!--<div class="swiper-button-prev"></div>-->
				    <!--<div class="swiper-button-next"></div>-->
				    
				    <!-- 如果需要滚动条 -->
				    <!--<div class="swiper-scrollbar"></div>-->
			</div>
			
			<div class="swiper-container-horizontal">
				<!-- 如果需要分页器 -->
				<div class="swiper-pagination"></div>
				    
			</div>
			
			<div class="theme">
					<div class="t-des">
						<img src="img/classify/class-food.png"/>
						<span>美食类</span>
					</div>
					
					<div class="more">
						<a href="#">
						<span>更多</span>
						<img src="img/more.png"/>
						</a>
					</div>
					
			</div>
			
			<dl class="img-group-flexline">
				
				<dd><a href="#"><img src="img/classify/food-1.png"/></a></dd>
				<dd><a href="#"><img src="img/classify/food-2.png"/></a></dd>
				<dd><a href="#"><img src="img/classify/food-3.png"/></a></dd>
				<dd><a href="#"><img src="img/classify/food-4.png"/></a></dd>
				
			</dl>
			
			<div class="theme">
					<div class="t-des">
						<img src="img/classify/class-movement.png"/>
						<span>运动类</span>
					</div>
					
					<div class="more">
						<a href="#">
						<span>更多</span>
						<img src="img/more.png"/>
						</a>
					</div>
					
			</div>
			
			
			<dl class="img-group-flexline">
				
				<dd><a href="#"><img src="img/classify/move-1.png"/></a></dd>
				<dd><a href="#"><img src="img/classify/move-2.png"/></a></dd>
				<dd><a href="#"><img src="img/classify/move-3.png"/></a></dd>
				<dd><a href="#"><img src="img/classify/move-4.png"/></a></dd>
				
			</dl>
			
			
			<div class="theme">
					<div class="t-des">
						<img src="img/classify/class-movie.png"/>
						<span>电影类</span>
					</div>
					
					<div class="more">
						<a href="#">
						<span>更多</span>
						<img src="img/more.png"/>
						</a>
					</div>
					
			</div>
			
			
			<dl class="img-group-flexline">
				
				<dd><a href="#"><img src="img/classify/movie-1.png"/></a></dd>
				<dd><a href="#"><img src="img/classify/movie-2.png"/></a></dd>
				<dd><a href="#"><img src="img/classify/movie-1.png"/></a></dd>
				<dd><a href="#"><img src="img/classify/movie-2.png"/></a></dd>
				
			</dl>
			
			
		</section>
		<!--内容e-->
		
		
			
			
			
		<!--尾部s-->
		<footer>
			
			<div class="footer-btn fl">
				<a href="index.html">
					<img src="img/home-menu.png"/>
					<p>首页</p>
				</a>
			</div>
			
			<div class="footer-btn fl">
				<a href="classify.html">
					<img src="img/on-classify-menu.png"/>
					<p>分类</p>
				</a>
			</div>
			
			<div class="footer-btn fl">
				<a href="find.html">
					<img src="img/find-menu.png"/>
					<p>发现</p>
				</a>
			</div>
			
			<div class="footer-btn fl">
				<a href="mine.html">
					<img src="img/mine-menu.png"/>
					<p>我的</p>
				</a>
			</div>
			
			
		</footer>
		<!--尾部e-->
		
		
		<script type="text/javascript">
			document.body.style.height = window.innerHeight + "px";
    
		    /*动态改变根元素字体大小*/
		    function recalc() {
		    	//客户端宽度
		        var clientWidth = document.documentElement.clientWidth;
		        if(!clientWidth) return;
		        document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
		        // 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
		    }
		
		    function initRecalc() {
		        recalc();
		        // if(浏览器支持横竖屏切换的事件){横竖屏事件}else{ resize事件 }
		        var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
		        if(!document.addEventListener) return;
		        window.addEventListener(resizeEvt, recalc, false);
		        document.addEventListener('DOMContentLoaded', recalc, false);
		    }
            initRecalc();

		</script>
		
		
		
		
		<script src="dist\js\swiper.js"></script>
		<script>        
		  var mySwiper = new Swiper ('.swiper-container', {
		    direction: 'horizontal', // 垂直切换选项
		    loop: true, // 循环模式选项
		     slidesPerView : 4,
		     spaceBetween : 20,
		    
		    autoplay: {
	        enabled: true,
	        disableOnInteraction: false,
	        },
		    
		    
		    // 如果需要分页器
		    pagination: {
		      el: '.swiper-pagination',
		    },
		    
		    // 如果需要前进后退按钮
		    navigation: {
		      nextEl: '.swiper-button-next',
		      prevEl: '.swiper-button-prev',
		    },
		    
		    // 如果需要滚动条
		    scrollbar: {
		      el: '.swiper-scrollbar',
		      
		    },
		  })        
	  	</script>
	</body>
</html>
